package com.appkubes.mall.core.service;

import com.appkubes.base.core.mbp.AbstractBaseService;
import com.appkubes.mall.core.dao.BaseMallSpecificTypeDao;
import com.appkubes.mall.core.entity.MallSpecificType;

import com.appkubes.base.core.entity.vo.PageVO;
import com.baomidou.mybatisplus.core.metadata.IPage;

import java.util.List;

/**
 * @author Rongjie
 * @description
 */

public interface BaseMallSpecificTypeService extends AbstractBaseService<BaseMallSpecificTypeDao, MallSpecificType> {

    MallSpecificType getOneByEntity(MallSpecificType entity);

    List<MallSpecificType> selectListByEntity(MallSpecificType entity);

    IPage<MallSpecificType> selectPageByEntity(IPage<MallSpecificType> page);
    IPage<MallSpecificType> selectPageByEntity(PageVO pageVO);

    IPage<MallSpecificType> selectPageByEntity(MallSpecificType entity, IPage<MallSpecificType> page);
    IPage<MallSpecificType> selectPageByEntity(MallSpecificType entity, PageVO pageVO);

    IPage<MallSpecificType> selectPageByEntity(MallSpecificType entity, Integer pageNo, Integer pageSize);

    Boolean removeByEntity(MallSpecificType entity);
}
